package com.sl.crawler.robot.downloader.htmlUnit;

import com.gargoylesoftware.htmlunit.WebClient;
import com.sl.crawler.robot.clientPool.BaseClientPool;
import com.sl.crawler.robot.clientPool.HtmlUnitClientPool;
import com.sl.crawler.robot.downloader.BaseDownloader;

/**
 * Created by shiling on 2017/6/8.
 */
public class HtmlUnitDownloader implements BaseDownloader<WebClient> {
    private volatile HtmlUnitClientPool htmlUnitClientPool = new HtmlUnitClientPool();

    @Override
    public BaseClientPool<WebClient> getBaseClientPool() {
        return this.htmlUnitClientPool;
    }
}
